package com.cdks.wuxiu.api.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CallSheetVO {
    /**
     * 创建时间戳
     */
    @ApiModelProperty(value = "createTime")
    private Long createTime;

    /**
     * 通话类型
     */
    @ApiModelProperty(value = "type")
    private Integer type;

    /**
     * 主叫用户id
     */
    @ApiModelProperty(value = "callerId")
    private Long callerId;

    /**
     * 被叫用户id
     */
    @ApiModelProperty(value = "answerId")
    private Long answerId;

    /**
     * 通话唯一id
     */
    @ApiModelProperty(value = "ucid")
    private String ucid;

    /**
     * 通话状态
     */
    @ApiModelProperty(value = "status")
    private Integer status;    

    /**
     * 通话结束类型
     */
    @ApiModelProperty(value = "endType")
    private Integer endType;

    /**
     * 接通时间
     */
    @ApiModelProperty(value = "startTime")
    private Long startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "stopTime")
    private Long stopTime;

    /**
     * 通话时长，秒
     */
    @ApiModelProperty(value = "duration")
    private Integer duration;
}
